package com.warm.pump.module.work.mapper.gen;

import com.warm.pump.module.work.bean.po.gen.Work;
import com.warm.pump.module.work.bean.po.gen.WorkExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;

@org.apache.ibatis.annotations.Mapper
public interface WorkMapper{
    int countByExample(WorkExample example);

    int deleteByExample(WorkExample example);
    int deleteByPrimaryKey(@Param("id") Long id);
    int insert(Work record);

    int insertSelective(Work record);

    List<Work> selectByExample(WorkExample example);
    Work selectByPrimaryKey(@Param("id") Long id);
    int updateByExampleSelective(@Param("record") Work record, @Param("example") WorkExample example);

    int updateByExample(@Param("record") Work record, @Param("example") WorkExample example);
    int updateByPrimaryKeySelective(Work record);

    int updateByPrimaryKey(Work record);
}
